GtkColorChooser: Make color plane react to mouse again
authorMatthias Clasen <mclasen@redhat.com>
Fri, 22 Aug 2014 15:21:52 +0000 (11:21 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 22 Aug 2014 15:21:52 +0000 (11:21 -0400)
Fallout from changing the defaults for gesture properties.

gtk/gtkcolorplane.c

index a50e920f72a9ba0a98efde7a32fecc3008a08694..be2d46f0dd2f538fb578d12fa2edbbfec8eb9f02 100644 (file)
@@ -415,7 +415,7 @@ gtk_color_plane_init (GtkColorPlane *plane)
   plane->priv->long_press_gesture = gtk_gesture_long_press_new (GTK_WIDGET (plane));
   g_signal_connect (plane->priv->long_press_gesture, "pressed",
                     G_CALLBACK (hold_action), plane);
-  gtk_gesture_single_set_touch_only (GTK_GESTURE_SINGLE (plane->priv->drag_gesture),
+  gtk_gesture_single_set_touch_only (GTK_GESTURE_SINGLE (plane->priv->long_press_gesture),
                                      TRUE);
 }